File: Heading_Mode.h

    1   /*
    2    * File: Heading_Mode.h
    3    *
    4    * Code generated for Simulink model 'Heading_Mode'.
    5    *
    6    * Model version                  : 1.146
    7    * Simulink Coder version         : 8.5 (R2013b) 08-Aug-2013
    8    * C/C++ source code generated on : Mon Feb 03 08:13:34 2014
    9    *
   10    * Target selection: ert.tlc
   11    * Embedded hardware selection: 32-bit Embedded Processor
   12    * Code generation objectives: Unspecified
   13    * Validation result: Not run
   14    */
   15   
   16   #ifndef RTW_HEADER_Heading_Mode_h_
   17   #define RTW_HEADER_Heading_Mode_h_
   18   #ifndef Heading_Mode_COMMON_INCLUDES_
   19   # define Heading_Mode_COMMON_INCLUDES_
   20   #include <math.h>
   21   #include <string.h>
   22   #include "rtwtypes.h"
   23   #include "model_reference_types.h"
   24   #endif                                 /* Heading_Mode_COMMON_INCLUDES_ */
   25   
   26   #include "Heading_Mode_types.h"
   27   
   28   /* Block signals for model 'Heading_Mode' */
   29   typedef struct {
   30     real_T hdgError;                     /* '<S1>/sum1' (Output 1)  */
   31   } rtB_Heading_Mode;
   32   
   33   typedef struct {
   34     rtB_Heading_Mode rtb;
   35   } rtMdlrefDWork_Heading_Mode;
   36   
   37   /* Model reference registration function */
   38   extern void Heading_Mode_initialize(rtB_Heading_Mode *localB);
   39   extern void Heading_Mode(const real_T *rtu_PsiRef, const real_T *rtu_Psi, const
   40     real_T *rtu_TAS, real_T *rty_PhiCmd, rtB_Heading_Mode *localB, real_T
   41     rtp_hdgGain);
   42   
   43   /*-
   44    * The generated code includes comments that allow you to trace directly
   45    * back to the appropriate location in the model.  The basic format
   46    * is <system>/block_name, where system is the system number (uniquely
   47    * assigned by Simulink) and block_name is the name of the block.
   48    *
   49    * Use the MATLAB hilite_system command to trace the generated code back
   50    * to the model.  For example,
   51    *
   52    * hilite_system('<S3>')    - opens system 3
   53    * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
   54    *
   55    * Here is the system hierarchy for this model
   56    *
   57    * '<Root>' : 'Heading_Mode'
   58    * '<S1>'   : 'Heading_Mode/Angle_Diff'
   59    * '<S2>'   : 'Heading_Mode/Model Info'
   60    */
   61   
   62   /*-
   63    * Requirements for '<Root>': Heading_Mode
   64    */
   65   #endif                                 /* RTW_HEADER_Heading_Mode_h_ */
   66   
   67   /*
   68    * File trailer for generated code.
   69    *
   70    * [EOF]
   71    */
   72